package com.kun.mapper;

import com.kun.entity.Course;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface CourseMapper {

    public int addCourse(Course course);

    public int deleteCourse(Integer id);

    public int updateCourse(Course course);

    public List<Course> selectAllCourses(Map map);

}
